using net_work.Data.Enum.System;
using TaskStatus = net_work.Data.Enum.System.TaskStatus;

namespace net_work.Common.Request;

public class TaskRequest
{
    /// <summary>
    /// 任务ID
    /// </summary>
    public required string TaskId { get; set; }

    /// <summary>
    /// 任务类型
    /// </summary>
    public required TaskType TaskType { get; set; }

    /// <summary>
    /// 任务参数
    /// </summary>
    public required Dictionary<TaskParams, object> Parameters { get; set; }

    /// <summary>
    /// 任务状态
    /// </summary>
    public required TaskStatus Status { get; set; }
}